/**
 * 非项目付款合同 http 请求
 */
import http from '@/utils/request'

export const gainBillNo = (data) => {
  return http.get('/api/erp/purchase/contract/erpPurchaseContract/gainBillNo', data)
}

export const add = (data) => {
  return http.post('/api/erp/purchase/contract/erpPurchaseContract/add', data)
}

export const edit = (data) => {
  return http.put('/api/erp/purchase/contract/erpPurchaseContract/edit', data)
}

export const info = (data) => {
  return http.get('/api/erp/purchase/contract/erpPurchaseContract/queryById', data)
}

// 导入采购清单
export const applyAllList = (data) => {
  return http.get('/api/erp/purchase/procurement/erpPurchaseChecklist/list', data)
}

// 导入定标单采购物料清单
// 点击导入定标单关联采购物料清单回显
export const urlListDetail = (data) => {
  return http.get('/api/erp/purchase/procurement/erpPurchaseApplyInvitationDetail/findInvitationDetail', data)
}
